package com.nice.nice201110.mapper;

import com.nice.nice201110.entity.TNews;
import com.nice.nice201110.vo.BaseVo;
import com.nice.nice201110.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TNewsMapper {

    int deleteByPrimaryKey(Integer id);
    int insertSelective(TNews record);
    TNews selectByPrimaryKey(Integer id);
    List<TNews> selectByPrimaryKeys(BaseVo baseVo);
    List<TNews> selectByUsers(UserVo userVo);
    int updateByPrimaryKeySelective(TNews record);
}